home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcpdial.arc
/
MILLWKE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-12-27
|
3KB
|
168 lines
ASSI S7" "
ASSI S0" "
ASSI S1"MILLWAUKEE, WI [414]"
BEGIN:
CLEA
LOCA 4,0
MESS" ╔══╡ MILWAUKEE NUMBERS ╞══╗"
MESS" ║ ║"
MESS" ║ A - F.R.E.D. ║"
MESS" ║ B - EXEC-PC $$ ║"
MESS" ║ C - CBBS Maude ║"
MESS" ║ D - TBBS Canopus ║"
MESS" ║ E - RTPM Milwaukee ║"
MESS" ║ F - BBS Sue ║"
MESS" ║ M - Manual Dial ║"
MESS" ║ Q - Return to MAIN menu ║"
MESS" ║ ║"
MESS" ╠═══════════════════════════╣"
MESS" ║ ENTER YOUR CHOICE(S): ║"
MESS" ║ ║"
MESS" ╚═══════════════════════════╝"
LOCA 17,27
GET S0
TOP:
FIND S0"A"
IF FOUN
ASSI S6"F.R.E.D."
ASSI S8"7841417"
GOSU REDIALER
ELSE
ENDI
FIND S0"B"
IF FOUN
ASSI S6"EXEC-PC"
ASSI S8"9645160"
GOSU REDIALER
ELSE
ENDI
FIND S0"C"
IF FOUN
ASSI S6"CBBS Maude"
ASSI S8"2418364"
GOSU REDIALER
ELSE
ENDI
FIND S0"D"
IF FOUN
ASSI S6"TBBS Canopus"
ASSI S8"2810545"
GOSU REDIALER
ELSE
ENDI
FIND S0"E"
IF FOUN
ASSI S6"RTPM Milwaukee"
ASSI S8"2915011"
GOSU REDIALER
ELSE
ENDI
FIND S0"F"
IF FOUN
ASSI S6"BBS Sue"
ASSI S8"6456849"
GOSU REDIALER
ELSE
ENDI
FIND S0"M"
IF FOUN
CLEA
LOCA 5,20
MESS"NUMBER TO DIAL:"
LOCA 5,36
ASSI S6"MANUAL DIAL"
GET S8
GOSU REDIALER
ELSE
ENDI
FIND S0"Q"
IF FOUN
CLEA
TRAN"!@!"
WAIT"@"
TRAN"D!"
WAIT"@"
CLEA
LOCA 1,0
PAUS 1
EXEC"SELCITY.CMD"
ELSE
ENDI
FIND S7"MORE"
IF FOUN
ASSI S7" "
GOTO TOP
ELSE
ENDI
MESS"ALL NUMBERS IN DIALING QUEUE FAILED TO ANSWER"
MESS"RETURNING TO MAIN MENU"
ALAR
ASSI S0"Q"
GOTO TOP
REDIALER:
CLEA
ISFI S6
IF NOT SUCC
LOCA 5, 35
MESS"DIALING"
MESS" "
MESS S6
MESS S8
TRAN"I!"
PAUS 1
TRAN"ATZ!"
WAIT"OK"
TRAN"^E!"
WAIT"READY"
TRAN"D"
TRAN S8
TRAN"!"
RGET S9
RGET S9 80 40
RGET S9 40 40
RGET S9 40 40
GOTMESS:
FIND S9"BUSY"
IF FOUN
MESS S6
MESS S8
MESS"BUSY; GOING TO NEXT NUMBER"
MESS"***************************************************************"
ASSI S7"MORE"
GOTO RTRN
ENDI
FIND S9"ANSWER TONE"
IF FOUN
SET PARI NONE
SET DATA 8
CLEA
MESS"CONNECTED TO"
MESS S8
MESS S6
MESS S1
ALAR
EXIT
ELSE
FIND S9"RINGING"
IF FOUN
RGET S9
FIND S9"RINGING"
IF FOUN
LOG OPEN S6
MESS"NO ANSWER - STILL RINGING"
MESS S8
MESS S6
MESS S1
LOG CLOSE
TRAN"^C^D^C"
MESS"*************************************************************"
GOTO RTRN
ELSE
GOTO GOTMESS
ENDI
ENDI
ENDI
ENDI
RTRN:
RETURN